package cn.yiyuan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * @user m
 * @project system_boog
 * @date 2023-10-09
 * @package cn.yiyuan
 */
    /*
        @SpringBootApplication使其成为一个spring项目

    */
//主启动类
@SpringBootApplication
//扫描bean / mapper
@MapperScan("cn.yiyuan.mapper")

@ServletComponentScan("cn.yiyuan.base.monitor")
public class Tser {
    public static void main(String[] args) {

        SpringApplication.run(Tser.class,args);
    }
}
